            <% content_for :sidebar do -%>
            <div class="tab">
  		<h3>搜索论坛话题</h3>
	    </div>
	    <div class="clear">
		<center>
                <% form_tag search_forums_path, :method => :get do -%>
                    <input name="q" type="text" size="20" maxlength="72" value="<%= params[:q]%>" id="page_focus"/>
                    <br/>
                    <input type="submit" value="搜索"/>
                <% end -%>
            </center>
	    </div>
	    <% end -%>
            <% content_for :navbar do -%>
            <div class="box">
                <img class="map" align="absmiddle" alt="You are here" src="/images/map.png"/>
                当前位置 
                » <%= link_to "您这儿", :controller =>'browse', :action => 'index' %>
                » 论坛
                <%= feed_icon_tag "论坛", formatted_all_topics_path(:format => 'rss') %> 
            </div>
            <% end -%>
            <% for forum in @common_forums -%>
            <div class="box">
                <h3><%= forum.title%>(<%= forum.topics_count%>)</h3>
                <div class="indent">
                    <%= forum.description%><br/>
                    <hr/>
                    <%= render :partial=>'topics', :object => Topic.find(:all, :conditions => [ "forum_id = ?",forum.id], :include => [:user, :forum ], :limit => 10, :order => "replied_at desc")%>
                    <p class="slik" align="right"><%= image_tag("bullet_go.png", :align=>"absmiddle")%><%= link_to "进入#{forum.title}论坛", forum_path(forum)%></p>
                </div>
            </div>
            <% end -%>
            <div class="box">
            <h3>论坛最新话题</h3>
            <div class="indent">
                <hr/>
                <%= render :partial=>'newtopics', :object => @new_topics%>
            </div>
            </div>


